package com.ctshk.rpc.air.req;

import com.ctshk.common.enums.AirProductChannelType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 查询机票成本Req
 */
@Data
@ApiModel(value = "AirProductCostQueryReq对象",description = "查询机票成本对象")
public class AirProductCostQueryReq implements Serializable {


    private static final long serialVersionUID = 6109594558475464608L;

    @ApiModelProperty(value = "机票产品id ",required = true)
    private List<Long> productIds;

    @ApiModelProperty(value = "查询日期 开始如果查询一天 开始日期结束日期为一天即可",required = true)
    private LocalDate starDate;

    @ApiModelProperty(value = "查询日期 结束",required = true)
    private LocalDate endDate;

    @ApiModelProperty(value = "旅客类型id 不传查询所有旅客类型")
    private List<Long> touristTypeIds;

    @ApiModelProperty(value = "是否需要计算上架策略 默认计算")
    private Boolean isMark = true;


    @ApiModelProperty(value = "渠道 1:自营 2:代理商 3:官方渠道 4:第三方,默认自营")
    private Integer channelType= AirProductChannelType.SELF_CUSTTOM.getType();

    @ApiModelProperty(value = "关联ID" )
    private Long relationId;


}
